#pragma once

#include <AVUICondition.h>
#include <AVUIObjectCollection.h>

namespace AVUI {

class ConditionCollection : public TObjectCollection<Condition>
{
public:
    DECLARE_ELEMENT(ConditionCollection, ObjectCollectionBase);

    void Seal(ValueLookupType::Enum type)
    {
        m_sealed = true;
        for (int i = 0; i < get_Count(); i++)
        {
            (*this)[i]->Seal(type);
        }
    }

private:
    bool m_sealed;

};


}; // namespace AVUI
